package top.whysu.edevice.dto.manage;

import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * 修改凭证组
 */
public class VoucherAddModifyDTO {
    /**
     * id
     */
    private BigDecimal id;
    /**
     * 凭证组名称
     */
    @NotBlank(message = "凭证组名称不能为空")
    private String voucherName;

    public BigDecimal getId() {
        return id;
    }

    public void setId(BigDecimal id) {
        this.id = id;
    }

    public String getVoucherName() {
        return voucherName;
    }

    public void setVoucherName(String voucherName) {
        this.voucherName = voucherName;
    }
}
